//Subject.java
package proxy.wisereference;

/**
 *@author:youtubezou
 *@version:2012-7-25
 */
public abstract class Subject {
}


class Computer extends Subject{
	private static int count = 0;
	public String toString(){
		return "Computer_" + count++;
	}
}

class Desk extends Subject{
	private static int count = 0;
	
	public String toString(){
		return "Desk_" + count++;
	}
}

class Card extends Subject{
	private static int count = 0;
	
	public String toString(){
		return "Card_" + count++;
	}
}